﻿using Gx.Model.Entity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Gx.Model.ViewModel
{
    public class LKWarehouseContractDto : AttachmentDto
    {
        public LKWarehouseContract Bill { get; set; } = new LKWarehouseContract();
        //LKIncidentals
        public List<LKIncidentals> CostList { get; set; } = new List<LKIncidentals>();

        public List<LKWarehouseContractDetail> DetailList { get; set; }= new List<LKWarehouseContractDetail>();

        //public List<int> DeleteIds { get; set; }
    }

    public class LKWarehouseContractDetailView
    {
        public int DetailDomId { get; set; }
        //public LKWarehouseContractDetail LKWarehouseContractDetail { get; set; }

        public List<LKWarehouseContractDetail> DetailList { get; set; } = new List<LKWarehouseContractDetail>();
    }

    public class DetailListView 
    {
        public int ContractId { get; set; }

        public int StoreAlgorithm { get; set; }
        public LKWarehouseContractDetail LKWarehouseContractDetail { get; set; }

        //public List<LKWarehouseContractDetail> DetailList { get; set; } = new List<LKWarehouseContractDetail>();
    }
}
